home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-09-16 | 374 b | 7 lines | [TEXT/CCL2] |
- (deftrap _equalstring ((str1 (:string 255)) (str2 (:string 255)) (casesens :boolean) (diacsens :boolean))
- (:d0 :signed-integer)
- (let ((s1 (%inc-ptr str1 1))
- (s2 (%inc-ptr str2 1))
- (length (logior (ash (%get-byte str1) 16) (%get-byte str2))))
- (declare (dynamic-extent s1 s2))
- (zerop (the fixnum (:register-trap #xA03C :a0 s1 :a1 s2 :d0 length)))))